<script>
  $(document).ready(function() {
    $("#[html_property:id]").sortable({update : function () {
                                                 
          
          var order = $('#[html_property:id]').sortable('toArray'); 
          //alert(order);
          url = '[php:save_content_order.php]?content_id=<?php echo config::$contentData['content_id'];?>&order='+order;                                     
                    
            $.get(url, function(data) {

                data = jQuery.trim(data);
                if (data != "") {
                    alert("Error: "+data);
                    }
                });
            }});

  });  
</script>